package com.per.mybootall.dao;

import com.per.mybootall.pojo.RoleAndUser;

import java.util.List;

public interface RoleAndUserMapper {
    int deleteByPrimaryKey(Integer userid);

    int insert(RoleAndUser record);

    int insertSelective(RoleAndUser record);

    RoleAndUser selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(RoleAndUser record);

    int updateByPrimaryKey(RoleAndUser record);

    int insertRole(String username,int role);

    List<String> selectAllRole();
}